package com.hupu.jrs.widget

import android.graphics.Bitmap
import android.webkit.WebResourceError
import android.webkit.WebResourceRequest
import android.webkit.WebView

/**
 * Created by sll on 2015/6/17.
 */
interface H5Callback {
    fun doPerform(map: Map<Any, Any>)

    fun onPageFinished(webView: WebView, str: String)

    fun onPageStarted(webView: WebView, str: String, bitmap: Bitmap)

    fun onReceivedError(view: WebView, request: WebResourceRequest, error: WebResourceError)

    fun setJockeyEvents()

    fun openBrowser(url: String)
}